<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * 专业名称字典表
 *
 * @author wutian
 */

namespace Home\Model ;

class ProfessionDictionaryModel extends \Think\Model
{

    function getProfessionNameByProfessionID ( $ProfessionID )
    {
        $rs = $this->where ( 'ProfessionID = %d' , $ProfessionID )->find () ;
        return $rs ? $rs[ 'ProfessionName' ] : false ;
    }

}
